<%@page import="domain.model.InOutLink"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.Collections"%>
<%@page import="javax.cache.CacheException"%>
<%@page import="javax.cache.CacheManager"%>
<%@page import="javax.cache.Cache"%>
<%@page import="domain.model.Whois"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html;charset=UTF-8" language="java"%>
<%
String title = (String) request.getAttribute("title");
String description = (String) request.getAttribute("description");
String keywords = (String) request.getAttribute("keyword");
List<InOutLink> outlink = (List<InOutLink>) request.getAttribute("outlink");
String domain = (String) request.getAttribute("domain");
%>
<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
</jsp:include>
		<div class="body all">
			<div class="cate">
				<%@ include file='/element/menu_left.jsp'%>
				<%@ include file='/element/new_site.jsp'%>
				<%@ include file='/element/random_site.jsp'%>
			</div>
			<div class="content">
				<%@ include file='/adv/menu.jsp'%>
				
				<div class="content_left left">
					<h2 class="title left">Check link :</h2>
					<div class="add_this right">
						<!-- AddThis Button BEGIN -->
						<div class="addthis_toolbox addthis_default_style ">
						<a class="addthis_button_preferred_1"></a>
						<a class="addthis_button_preferred_2"></a>
						<a class="addthis_button_preferred_3"></a>
						<a class="addthis_button_preferred_4"></a>
						<a class="addthis_button_compact"></a>
						<a class="addthis_counter addthis_bubble_style"></a>
						</div>
						
						<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d6f3cdb1d190d60"></script>
						<!-- AddThis Button END -->
					</div>
					<div class="sum_one right">
						<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
						<g:plusone size="small" count="true"></g:plusone>
					</div>
					<div class="clear"></div>
					
					<form action="/search-link" class="search">
						<input type="text" name="name"/>
						<button>Check link</button>
						<br/>
						Example Searches : <a href="/link/childsgame.net">childsgame.net</a> , <a href="/link/yooarticles.com">yooarticles.com</a>
					</form>
					<br/>
					<h2 class="title">Out link <%=domain %></h2>
					<ul class="list_link">
						<%
						for(int i=0;i<outlink.size();i++)
						{
						%>
							<li>
								<span class="left">http://<%=outlink.get(i).getOutLink() %></span>
								<a class="right" href="/link/<%=outlink.get(i).getOutLink() %>">Check link</a>
								<a href="/domain/<%=outlink.get(i).getOutLink() %>" class="right">View infomation  |&nbsp;</a>
								<div class="clear"></div>
							</li>
						<%
						}
						%>
					</ul>
				</div>
				<div class="content_right right">
					<%@ include file='/adv/right.jsp'%>
				</div>
			</div>
			<div class="clear"></div>
		</div>
<%@ include file='/layout/footer.jsp'%>